pub fn urlencode(input: &str) -> String {
    percent_encoding::percent_encode(input.as_bytes(), percent_encoding::NON_ALPHANUMERIC)
        .to_string()
}